<?php
  //Buffer larger content areas like the main page content
  ob_start();
include("include/config1.php");
   $name=$_POST['username'];
   $add=$_POST['address'];
   $cuntry=$_POST['country'];
   $zip=$_POST['zip'];
   $ph=$_POST['phone'];
   $email=$_POST['email'];
   $uname=$_POST['userid'];
   $pwd=$_POST['passid'];
   $data=mysql_query("insert into members values('','$name','$add','$country','$zip','$ph','$email','$uname','$pwd','1')");
   if($data)
   {
   header("location:register-cc.php");  
   } 
   else
   {
   echo mysql_error();
   }
  
?>